package orz.itrip.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import orz.itrip.pojo.HotelRoom;
import tk.mybatis.mapper.common.Mapper;

public interface HotelRoomMapper extends Mapper<HotelRoom> {

    @Select("SELECT roomPrice FROM itrip_hotel_room WHERE id=#{roomId}")
    Double selectPrice(@Param("roomId") Long roomId);
}